package com.nfit.shopmodel.entity.address;

import com.nfit.shopmodel.entity.base.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * ClassName:Address
 * Package:com.nfit.shopmodel.entity.address
 * Description
 *
 * @Author L
 * @Create 2024/12/28 15:05
 */
@Schema(description = "地址表")
@Data
public class Address extends BaseEntity {
    @Schema(description = "userid")
    private Long userId;
    @Schema(description = "用户名称")
    private String name;
    @Schema(description = "手机号")
    private String phone;
    @Schema(description = "标签名称")
    private String tagName;
    @Schema(description = "省编码")
    private int provinceCode;
    @Schema(description = "城市编码")
    private Integer cityCode;
    @Schema(description = "区编码")
    private Integer districtCode;
    @Schema(description = "详情地址")
    private String address;
    @Schema(description = "完整地址")
    private String fullAddress;
    @Schema(description = "设置默认地址")
    private Integer isDefault;
}
